package com.aaa.service;


import com.aaa.common.domain.RenterInfo;
import com.aaa.common.query.RenterInfoQuery;
import com.aaa.common.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;


public interface RenterInfoService extends IService<RenterInfo> {
    /**
     * 查询单位租户
     * @return
     */
    Result listUnitRenter(RenterInfoQuery renterQuery);

    /**
     * 查询个人租户
     * @return
     */
    Result listPersonalRenter(RenterInfoQuery renterQuery);

    /**
     * 下拉框
     * @return
     */
    Result listMark();


    /**
     * 添加租户
     * @return
     */
    boolean addPersonalRenter(RenterInfo renterInfo);

    /**
     * 修改租户
     * @return
     */
    boolean updatePersonalRenter(RenterInfo renterInfo);

    /**
     * 根据id查询个人租户
     * @return
     */
    Result listPersonalRenterById(Integer id);


    /**
     * 删除租户
     * @return
     */
    boolean deletePersonalRenter(String ids);
}
